﻿using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.AspNetCore.Authorization;

namespace Kugar.UI.Web.AdminLTE.Filters
{
    [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false)]
    public class AdminAuthorizeSchemeAttribute: AuthorizeAttribute
    {
        public AdminAuthorizeSchemeAttribute(string schemeName) : base()
        {
            AuthenticationSchemes = schemeName;
        }
    }
}
